The Design Notes API > The Design Notes C API > BOOL LocalURLToFilePath() |
![]() ![]() ![]() |
Description
Converts the specified file:// URL to a local drive path.
Arguments
const char*
localURL
, char*
drivePathBuf
, int
drivePathMaxLen
![]() |
The first argument is the path to a local file, expressed as a file:// URL. |
![]() |
The second argument is the buffer where the local drive path should be stored. |
![]() |
The third argument is the maximum size of drivePathBuf . |
Returns
A Boolean value indicating whether the operation was successful; stores the local drive path in drivePathBuf
.
![]() ![]() ![]() |